package com.guonima;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.turbine.EnableTurbine;

/**
 * EnableTurbine 注解启动微服务服务集群调用信息数据监控
 * 图形化界面 要先启动 EnableHystrixDashboard 注解的服务才能使用
 * @author guonima
 * @create 2017-11-01 15:05
 */
@EnableEurekaClient
@EnableTurbine
@SpringBootApplication
public class EurekaTurbineApplication {

    public static void main(String[] args) {
        SpringApplication.run(EurekaTurbineApplication.class, args);
    }
}
